how do i convert a number into years and months